package es.project.sien7e.main.services;

import java.sql.SQLException;
import java.util.HashMap;
import java.util.List;

import es.project.sien7e.main.model.Menu;

public interface MenuService {
	public List<Menu> getMenus() throws SQLException;

	public List<Menu> getMenusPadres() throws SQLException;

	public Long getMenu(String titulo) throws SQLException;

	public List<Menu> getListaMenus() throws SQLException;

	Menu grabaMenu(Menu obj);

	Menu insertaMenu(Menu obj);

	Integer borrarMenu(Menu obj);

	HashMap<Long, String> getMenusPadres(Long id);

	List<Menu> getMenuPrincipal(Long id);

	List<Menu> getMenuSecundario(Long id);
}
